<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::on_nurbs::GlobalOptimization类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1on__nurbs_1_1_global_optimization.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1on__nurbs_1_1_global_optimization-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::on_nurbs::GlobalOptimization类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Fitting and optimizing multiple B-Spline surfaces to 3D point-clouds using point-distance-minimization in a single system of equations (global). Based on paper: TODO  
 <a href="classpcl_1_1on__nurbs_1_1_global_optimization.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="global__optimization__pdm_8h_source.html">global_optimization_pdm.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::on_nurbs::GlobalOptimization 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1on__nurbs_1_1_global_optimization.png" usemap="#pcl::on_5Fnurbs::GlobalOptimization_map" alt=""/>
  <map id="pcl::on_5Fnurbs::GlobalOptimization_map" name="pcl::on_5Fnurbs::GlobalOptimization_map">
<area href="classpcl_1_1on__nurbs_1_1_global_optimization_t_d_m.html" title="Fitting and optimizing multiple B-Spline surfaces to 3D point-clouds using tangent-distance-minimizat..." alt="pcl::on_nurbs::GlobalOptimizationTDM" shape="rect" coords="0,56,225,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1on__nurbs_1_1_global_optimization_1_1_parameter.html">Parameter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters for fitting  <a href="structpcl_1_1on__nurbs_1_1_global_optimization_1_1_parameter.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa97fa31a38b10f7b80241a7135adf74b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#aa97fa31a38b10f7b80241a7135adf74b">GlobalOptimization</a> (const std::vector&lt; <a class="el" href="structpcl_1_1on__nurbs_1_1_nurbs_data_surface.html">NurbsDataSurface</a> * &gt; &amp;data, const std::vector&lt; <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> * &gt; &amp;nurbs)</td></tr>
<tr class="memdesc:aa97fa31a38b10f7b80241a7135adf74b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor with a set of data and a set of B-Spline surfaces.  <a href="classpcl_1_1on__nurbs_1_1_global_optimization.html#aa97fa31a38b10f7b80241a7135adf74b">更多...</a><br /></td></tr>
<tr class="separator:aa97fa31a38b10f7b80241a7135adf74b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf33b3da8bae7785ea8ae2b0fdf8a0d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#abf33b3da8bae7785ea8ae2b0fdf8a0d3">setCommonBoundary</a> (const vector_vec3d &amp;boundary, const vector_vec2i &amp;nurbs_indices)</td></tr>
<tr class="memdesc:abf33b3da8bae7785ea8ae2b0fdf8a0d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set common boundary points two NURBS should lie on  <a href="classpcl_1_1on__nurbs_1_1_global_optimization.html#abf33b3da8bae7785ea8ae2b0fdf8a0d3">更多...</a><br /></td></tr>
<tr class="separator:abf33b3da8bae7785ea8ae2b0fdf8a0d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf223c23a18421393aa77cb631a58c7d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#acf223c23a18421393aa77cb631a58c7d">assemble</a> (<a class="el" href="structpcl_1_1on__nurbs_1_1_global_optimization_1_1_parameter.html">Parameter</a> params=<a class="el" href="structpcl_1_1on__nurbs_1_1_global_optimization_1_1_parameter.html">Parameter</a>())</td></tr>
<tr class="memdesc:acf223c23a18421393aa77cb631a58c7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble the system of equations for fitting  <a href="classpcl_1_1on__nurbs_1_1_global_optimization.html#acf223c23a18421393aa77cb631a58c7d">更多...</a><br /></td></tr>
<tr class="separator:acf223c23a18421393aa77cb631a58c7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa275ea61b77f35a2c778fdd6857ab6ab"><td class="memItemLeft" align="right" valign="top"><a id="aa275ea61b77f35a2c778fdd6857ab6ab"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#aa275ea61b77f35a2c778fdd6857ab6ab">solve</a> (double damp=1.0)</td></tr>
<tr class="memdesc:aa275ea61b77f35a2c778fdd6857ab6ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Solve system of equations using Eigen or UmfPack (can be defined in on_nurbs.cmake), and updates B-Spline surface if a solution can be obtained. <br /></td></tr>
<tr class="separator:aa275ea61b77f35a2c778fdd6857ab6ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61c10b406c5cfa324f55bbaf2bc411a6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a61c10b406c5cfa324f55bbaf2bc411a6">updateSurf</a> (double damp)</td></tr>
<tr class="memdesc:a61c10b406c5cfa324f55bbaf2bc411a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update surface according to the current system of equations.  <a href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a61c10b406c5cfa324f55bbaf2bc411a6">更多...</a><br /></td></tr>
<tr class="separator:a61c10b406c5cfa324f55bbaf2bc411a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a357a96881e310c458c66a6bbb0c9ff33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a357a96881e310c458c66a6bbb0c9ff33">setInvMapParams</a> (double im_max_steps, double im_accuracy)</td></tr>
<tr class="memdesc:a357a96881e310c458c66a6bbb0c9ff33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set parameters for inverse mapping  <a href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a357a96881e310c458c66a6bbb0c9ff33">更多...</a><br /></td></tr>
<tr class="separator:a357a96881e310c458c66a6bbb0c9ff33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f9037416afbc0d3ba323d6bb14c403"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a63f9037416afbc0d3ba323d6bb14c403">refine</a> (unsigned id, int dim)</td></tr>
<tr class="memdesc:a63f9037416afbc0d3ba323d6bb14c403"><td class="mdescLeft">&#160;</td><td class="mdescRight">Refines specified surface by inserting a knot in the middle of each element.  <a href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a63f9037416afbc0d3ba323d6bb14c403">更多...</a><br /></td></tr>
<tr class="separator:a63f9037416afbc0d3ba323d6bb14c403"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3b5f9449ff0d943b4ea4d8d1822d3bc"><td class="memItemLeft" align="right" valign="top"><a id="ab3b5f9449ff0d943b4ea4d8d1822d3bc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setQuiet</b> (bool val)</td></tr>
<tr class="separator:ab3b5f9449ff0d943b4ea4d8d1822d3bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a3190ed6d219195b37061115d0b6d7cae"><td class="memItemLeft" align="right" valign="top"><a id="a3190ed6d219195b37061115d0b6d7cae"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>assembleCommonParams</b> (unsigned id1, double weight, unsigned &amp;row)</td></tr>
<tr class="separator:a3190ed6d219195b37061115d0b6d7cae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b61b8b05ee674d38fe07502db0a4bf3"><td class="memItemLeft" align="right" valign="top"><a id="a3b61b8b05ee674d38fe07502db0a4bf3"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a3b61b8b05ee674d38fe07502db0a4bf3">assembleCommonBoundaries</a> (unsigned id1, double weight, unsigned &amp;row)</td></tr>
<tr class="memdesc:a3b61b8b05ee674d38fe07502db0a4bf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble closing-constraint of boundaries using data.boundary for getting closest points <br /></td></tr>
<tr class="separator:a3b61b8b05ee674d38fe07502db0a4bf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8aaefca95b9b3e2ad5f0b76a215489a"><td class="memItemLeft" align="right" valign="top"><a id="ac8aaefca95b9b3e2ad5f0b76a215489a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#ac8aaefca95b9b3e2ad5f0b76a215489a">assembleClosingBoundaries</a> (unsigned id, unsigned samples, double sigma, double weight, unsigned &amp;row)</td></tr>
<tr class="memdesc:ac8aaefca95b9b3e2ad5f0b76a215489a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble closing-constraint of boundaries by sampling from nurbs boundary and find closest point on closest nurbs <br /></td></tr>
<tr class="separator:ac8aaefca95b9b3e2ad5f0b76a215489a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad733e3546af45191ca59cf83ce0c5f19"><td class="memItemLeft" align="right" valign="top"><a id="ad733e3546af45191ca59cf83ce0c5f19"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#ad733e3546af45191ca59cf83ce0c5f19">assembleInteriorPoints</a> (unsigned id, int ncps, double weight, unsigned &amp;row)</td></tr>
<tr class="memdesc:ad733e3546af45191ca59cf83ce0c5f19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble point-to-surface constraints for interior points. <br /></td></tr>
<tr class="separator:ad733e3546af45191ca59cf83ce0c5f19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8adfbc7ef2618febe74738e139c89cd"><td class="memItemLeft" align="right" valign="top"><a id="ab8adfbc7ef2618febe74738e139c89cd"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#ab8adfbc7ef2618febe74738e139c89cd">assembleBoundaryPoints</a> (unsigned id, int ncps, double weight, unsigned &amp;row)</td></tr>
<tr class="memdesc:ab8adfbc7ef2618febe74738e139c89cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble point-to-surface constraints for boundary points. <br /></td></tr>
<tr class="separator:ab8adfbc7ef2618febe74738e139c89cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb6b1332afeebbb6b66fd116a8db46d1"><td class="memItemLeft" align="right" valign="top"><a id="acb6b1332afeebbb6b66fd116a8db46d1"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#acb6b1332afeebbb6b66fd116a8db46d1">assembleRegularisation</a> (unsigned id, int ncps, double wCageRegInt, double wCageRegBnd, unsigned &amp;row)</td></tr>
<tr class="memdesc:acb6b1332afeebbb6b66fd116a8db46d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble smoothness constraints. <br /></td></tr>
<tr class="separator:acb6b1332afeebbb6b66fd116a8db46d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b740d398aa1440d6ee93e6be246e153"><td class="memItemLeft" align="right" valign="top"><a id="a2b740d398aa1440d6ee93e6be246e153"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a2b740d398aa1440d6ee93e6be246e153">addParamConstraint</a> (const Eigen::Vector2i &amp;id, const Eigen::Vector2d &amp;params1, const Eigen::Vector2d &amp;params2, double weight, unsigned &amp;row)</td></tr>
<tr class="memdesc:a2b740d398aa1440d6ee93e6be246e153"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add minimization constraint: two points in parametric domain of two surfaces should lie on each other. <br /></td></tr>
<tr class="separator:a2b740d398aa1440d6ee93e6be246e153"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d9bfac905a8e476a90988d5f3a2b48c"><td class="memItemLeft" align="right" valign="top"><a id="a2d9bfac905a8e476a90988d5f3a2b48c"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a2d9bfac905a8e476a90988d5f3a2b48c">addPointConstraint</a> (unsigned id, int ncps, const Eigen::Vector2d &amp;params, const Eigen::Vector3d &amp;point, double weight, unsigned &amp;row)</td></tr>
<tr class="memdesc:a2d9bfac905a8e476a90988d5f3a2b48c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add minimization constraint: point-to-surface distance (point-distance-minimization). <br /></td></tr>
<tr class="separator:a2d9bfac905a8e476a90988d5f3a2b48c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1c1006ca6265c94b464a64898236fce"><td class="memItemLeft" align="right" valign="top"><a id="aa1c1006ca6265c94b464a64898236fce"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#aa1c1006ca6265c94b464a64898236fce">addCageInteriorRegularisation</a> (unsigned id, int ncps, double weight, unsigned &amp;row)</td></tr>
<tr class="memdesc:aa1c1006ca6265c94b464a64898236fce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add minimization constraint: interior smoothness by control point regularisation. <br /></td></tr>
<tr class="separator:aa1c1006ca6265c94b464a64898236fce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a911b84549be29804a8dc4ccfb56582"><td class="memItemLeft" align="right" valign="top"><a id="a5a911b84549be29804a8dc4ccfb56582"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a5a911b84549be29804a8dc4ccfb56582">addCageBoundaryRegularisation</a> (unsigned id, int ncps, double weight, int side, unsigned &amp;row)</td></tr>
<tr class="memdesc:a5a911b84549be29804a8dc4ccfb56582"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add minimization constraint: boundary smoothness by control point regularisation. <br /></td></tr>
<tr class="separator:a5a911b84549be29804a8dc4ccfb56582"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04a22cba78066953331ec1827f6b80ae"><td class="memItemLeft" align="right" valign="top"><a id="a04a22cba78066953331ec1827f6b80ae"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html#a04a22cba78066953331ec1827f6b80ae">addCageCornerRegularisation</a> (unsigned id, int ncps, double weight, unsigned &amp;row)</td></tr>
<tr class="memdesc:a04a22cba78066953331ec1827f6b80ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add minimization constraint: corner smoothness by control point regularisation. <br /></td></tr>
<tr class="separator:a04a22cba78066953331ec1827f6b80ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31ce91e7709249ff8ae5cc4f1886a388"><td class="memItemLeft" align="right" valign="top"><a id="a31ce91e7709249ff8ae5cc4f1886a388"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>grc2gl</b> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, int I, int J)</td></tr>
<tr class="separator:a31ce91e7709249ff8ae5cc4f1886a388"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcaee0a710a366ecd49415569d2cab88"><td class="memItemLeft" align="right" valign="top"><a id="afcaee0a710a366ecd49415569d2cab88"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>lrc2gl</b> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, int E, int F, int i, int j)</td></tr>
<tr class="separator:afcaee0a710a366ecd49415569d2cab88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae49b0cda796571cf55b32517338c6d54"><td class="memItemLeft" align="right" valign="top"><a id="ae49b0cda796571cf55b32517338c6d54"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>gl2gr</b> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, int A)</td></tr>
<tr class="separator:ae49b0cda796571cf55b32517338c6d54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaeb6264398d70f7e9ec10eacc6b36dc5"><td class="memItemLeft" align="right" valign="top"><a id="aaeb6264398d70f7e9ec10eacc6b36dc5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>gl2gc</b> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, int A)</td></tr>
<tr class="separator:aaeb6264398d70f7e9ec10eacc6b36dc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a45732cbbb9d9429d884a38497af6e0e7"><td class="memItemLeft" align="right" valign="top"><a id="a45732cbbb9d9429d884a38497af6e0e7"></a>
std::vector&lt; <a class="el" href="structpcl_1_1on__nurbs_1_1_nurbs_data_surface.html">NurbsDataSurface</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_data</b></td></tr>
<tr class="separator:a45732cbbb9d9429d884a38497af6e0e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a448b35863bf3df939c6db36c868f1416"><td class="memItemLeft" align="right" valign="top"><a id="a448b35863bf3df939c6db36c868f1416"></a>
std::vector&lt; <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_nurbs</b></td></tr>
<tr class="separator:a448b35863bf3df939c6db36c868f1416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc05597abfb6a26905e2a354c48b45a9"><td class="memItemLeft" align="right" valign="top"><a id="afc05597abfb6a26905e2a354c48b45a9"></a>
<a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_solve.html">NurbsSolve</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_solver</b></td></tr>
<tr class="separator:afc05597abfb6a26905e2a354c48b45a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6762ed208b012e0147d8f5c9974678ff"><td class="memItemLeft" align="right" valign="top"><a id="a6762ed208b012e0147d8f5c9974678ff"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_quiet</b></td></tr>
<tr class="separator:a6762ed208b012e0147d8f5c9974678ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a683be7e7274cb722a5c4c781b883bbb4"><td class="memItemLeft" align="right" valign="top"><a id="a683be7e7274cb722a5c4c781b883bbb4"></a>
unsigned&#160;</td><td class="memItemRight" valign="bottom"><b>m_ncols</b></td></tr>
<tr class="separator:a683be7e7274cb722a5c4c781b883bbb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb7ad23c48501b67710ffe90f6bda2df"><td class="memItemLeft" align="right" valign="top"><a id="abb7ad23c48501b67710ffe90f6bda2df"></a>
unsigned&#160;</td><td class="memItemRight" valign="bottom"><b>m_nrows</b></td></tr>
<tr class="separator:abb7ad23c48501b67710ffe90f6bda2df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b8de42c046ed694b353ceced6148b48"><td class="memItemLeft" align="right" valign="top"><a id="a7b8de42c046ed694b353ceced6148b48"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>im_max_steps</b></td></tr>
<tr class="separator:a7b8de42c046ed694b353ceced6148b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65bd3768d260b8dcf05325ccef9089fc"><td class="memItemLeft" align="right" valign="top"><a id="a65bd3768d260b8dcf05325ccef9089fc"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>im_accuracy</b></td></tr>
<tr class="separator:a65bd3768d260b8dcf05325ccef9089fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Fitting and optimizing multiple B-Spline surfaces to 3D point-clouds using point-distance-minimization in a single system of equations (global). Based on paper: TODO </p>
<dl class="section author"><dt>作者</dt><dd>Thomas Mörwald &lt;&gt; </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="aa97fa31a38b10f7b80241a7135adf74b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa97fa31a38b10f7b80241a7135adf74b">&#9670;&nbsp;</a></span>GlobalOptimization()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::on_nurbs::GlobalOptimization::GlobalOptimization </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="structpcl_1_1on__nurbs_1_1_nurbs_data_surface.html">NurbsDataSurface</a> * &gt; &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> * &gt; &amp;&#160;</td>
          <td class="paramname"><em>nurbs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor with a set of data and a set of B-Spline surfaces. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>set of 3D point-cloud data to be fit. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nurbs</td><td>set of B-Spline surface used for fitting. <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="acf223c23a18421393aa77cb631a58c7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf223c23a18421393aa77cb631a58c7d">&#9670;&nbsp;</a></span>assemble()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void pcl::on_nurbs::GlobalOptimization::assemble </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpcl_1_1on__nurbs_1_1_global_optimization_1_1_parameter.html">Parameter</a>&#160;</td>
          <td class="paramname"><em>params</em> = <code><a class="el" href="structpcl_1_1on__nurbs_1_1_global_optimization_1_1_parameter.html">Parameter</a>()</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assemble the system of equations for fitting </p>
<ul>
<li>for large point-clouds this is time consuming.</li>
<li>should be done once before refinement to initialize the starting points for point inversion. </li>
</ul>

<p>被 <a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization_t_d_m.html#a55dbaaefde890a1a65b6b40b3a78fc88">pcl::on_nurbs::GlobalOptimizationTDM</a> 重载.</p>

</div>
</div>
<a id="a63f9037416afbc0d3ba323d6bb14c403"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63f9037416afbc0d3ba323d6bb14c403">&#9670;&nbsp;</a></span>refine()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::on_nurbs::GlobalOptimization::refine </td>
          <td>(</td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dim</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Refines specified surface by inserting a knot in the middle of each element. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>the index of the surface to be refined. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">dim</td><td>dimension of refinement (0,1) <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abf33b3da8bae7785ea8ae2b0fdf8a0d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf33b3da8bae7785ea8ae2b0fdf8a0d3">&#9670;&nbsp;</a></span>setCommonBoundary()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::on_nurbs::GlobalOptimization::setCommonBoundary </td>
          <td>(</td>
          <td class="paramtype">const vector_vec3d &amp;&#160;</td>
          <td class="paramname"><em>boundary</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const vector_vec2i &amp;&#160;</td>
          <td class="paramname"><em>nurbs_indices</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set common boundary points two NURBS should lie on </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">boundary</td><td>vector of boundary points. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nurbs_indices</td><td>vector of 2 NURBS indices sharing the boundary point. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a357a96881e310c458c66a6bbb0c9ff33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a357a96881e310c458c66a6bbb0c9ff33">&#9670;&nbsp;</a></span>setInvMapParams()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::on_nurbs::GlobalOptimization::setInvMapParams </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>im_max_steps</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>im_accuracy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set parameters for inverse mapping </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">in_max_steps</td><td>maximum number of iterations. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">in_accuracy</td><td>stops iteration if specified accuracy is reached. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a61c10b406c5cfa324f55bbaf2bc411a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61c10b406c5cfa324f55bbaf2bc411a6">&#9670;&nbsp;</a></span>updateSurf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void pcl::on_nurbs::GlobalOptimization::updateSurf </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>damp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update surface according to the current system of equations. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">damp</td><td>damping factor from one iteration to the other. </td></tr>
  </table>
  </dd>
</dl>

<p>被 <a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization_t_d_m.html#ad4b3661db8aca67495d5617418c14517">pcl::on_nurbs::GlobalOptimizationTDM</a> 重载.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>surface/include/pcl/surface/on_nurbs/<a class="el" href="global__optimization__pdm_8h_source.html">global_optimization_pdm.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>on_nurbs</b></li><li class="navelem"><a class="el" href="classpcl_1_1on__nurbs_1_1_global_optimization.html">GlobalOptimization</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
